<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%--
  Created by IntelliJ IDEA.
  User: SYHT
  Date: 2017/8/18
  Time: 11:48
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="myPage" uri="/xianzhiOA/pageTag" %>
<%--解析表达式--%>
<%@ page isELIgnored="false" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <jsp:include page="dist.jsp"/>
</head>

<body>
<div class="all">
    <jsp:include page="foreEnd.jsp"/>

    <div class="center">
        <jsp:include page="nav.jsp"/>
        <!--内容-->
        <div class="right" id="all_right">
            <!--<div class="allblue">-->
            <!--<h4>业务总览</h4>-->
            <!--</div>-->

            <form id="hidForm" action="${pageContext.request.contextPath}/Member/selAllMem.emp" class="big">
                <div class="every_top">
                    <h3>招聘中心</h3> <span>公司管理</span> &nbsp;/ &nbsp;<span>信息管理</span>

                </div>
                <div style="font-size: 14px">

                </div>
                <div class="all_select">
                    <input type="text" name="" value="" class="all_input" placeholder="按公司名称搜索">
                    <input type="text" name="" value="" class="all_input" placeholder="按城区搜索">
                    <input type="text" name="" value="" class="all_input" placeholder="按公司地址搜索">
                    <input type="text" name="" value="" class="all_input" placeholder="按公司电话搜索">
                    <button class="all_button" type="submit">搜索</button>
                </div>

                <div class="allform">

                    <table class="table-fix table table-striped">
                        <thead>
                        <tr>
                            <th width="120">真实姓名</th>
                            <th width="120">性别</th>
                            <th width="120">年龄</th>
                            <th width="120">生日</th>
                            <th width="120">学历</th>
                            <th width="120">身份证号</th>
                            <th width="120">相片路径</th>
                            <th width="120">电话</th>
                            <th width="120">居住地址</th>
                            <th width="120">用户邮箱</th>
                            <th width="120">删除日期</th>
                            <th width="120">删除类型</th>
                            <th width="150">操作</th>
                        </tr>
                        </thead>
                        <tbody>
                        <c:forEach var="member" items="${list}">
                            <tr>
                                <td class="ww">${member.memberName}</td>
                                <td class="ww">${member.memberSex eq 0 ? "男" : member.memberSex eq 1 ? "女" : ""}</td>
                                <td class="ww">${member.memberAge}</td>
                                <td class="ww">${member.memberBirth}</td>
                                <td class="ww">${member.memberEducation}</td>
                                <td class="ww">${member.memberIdcard}</td>
                                <td class="ww">${member.memberPicture}</td>
                                <td class="ww">${member.memberPhone}</td>
                                <td class="ww">${member.memberAddress}</td>
                                <td class="ww">${member.memberEmail}</td>
                                <td class="ww">${member.deleteMemberDate}</td>
                                <td class="ww">${member.deleteFalt}</td>
                                <td class="ww">
                                        <%--<a href="" class="all_a">分配</a>--%>
                                    <a href="${pageContext.request.contextPath}/Member/selByMenberIdEmp.emp?memberId=${member.memberId}&a=1" class="all_a" target="view_window">详情</a>
                                    <a href="${pageContext.request.contextPath}/Member/selByMenberIdEmp.emp?memberId=${member.memberId}&a=2" class="all_a" target="view_window">修改</a>
                                    <a href="###" class="all_a">删除</a>
                                        <%--<a href="${pageContext.request.contextPath}/CompanyInfo/updateCompanyDelete.emp?companyId=${member.}" class="all_a">删除</a>--%>
                                </td>
                            </tr>
                        </c:forEach>
                        </tbody>
                    </table>
                </div>

                <!--分页符-->
                <ul class="pagination">
                    <input id="infPage" type="hidden" name="page" value="${page}">
                    <myPage:paging length="4" page="${page}" pages="${pages}"/>
                </ul>
            </form>
        </div>
    </div>
</div>

<script src="${pageContext.request.contextPath}/dist/backEnd3/js/tab.js"></script>

<script>
    function pToSub(page) {
        var infpage = parseInt(document.getElementById("infPage").value);
        if (page != infpage && page - infpage > 0 || page != infpage && page - infpage < 0) {
            document.getElementById("infPage").value = page;
            document.getElementById("hidForm").submit();
        }
    }
</script>
<script>
    $(function () {
        $('#collapseFour').addClass("panel-collapse collapse in");
        $(".all_center").css("display", "block");     //显示二级导航条
        changeTab4();                               //显示对应二级导航条内容
        $(".center_btn2").css({left: '-50px'});
        $(".center_btn").css({left: '100px'});
        $(".all_center").css({left: '0'});
        $("#all_right").css({left: '110px'});
    });

</script>

</body>
</html>